﻿namespace FwProject.Authorization
{
    public static class PermissionNames
    {
        #region 系统保留
        public const string Pages = "Pages";
        public const string Pages_Tenants = "Pages.Tenants";
        public const string Pages_Users = "Pages.Users";
        public const string Pages_Roles = "Pages.Roles";
        #endregion

        public const string Admin = "Admin";
        public const string AdminManager = "AdminManager";
        public const string FactoryManager = "FactoryManager";
        #region 饭碗易购-送碗App
        public const string Fwyg = "Fwyg";

        #region 用户管理
        /// <summary>用户管理</summary>
        public const string User = "User";

        /// <summary>用户菜单</summary>
        public const string User_Menu = "User.Menu";
        /// <summary>查看用户</summary>
        public const string User_Index = "User.Index";


        /// <summary>操作权限</summary>
        public const string User_Operation = "User.Operation";
        /// <summary>添加用户</summary>
        public const string User_Create = "User.Create";
        /// <summary>修改用户</summary>
        public const string User_Edit = "User.Edit";
        /// <summary>删除用户</summary>
        public const string User_Delete = "User.Delete";
        /// <summary>查看所有用户（默认只能查看本工厂）</summary>
        public const string User_All_View = "User.All.View";

        #endregion

        #region 角色权限
        /// <summary>角色权限</summary>
        public const string Role = "Role";

        /// <summary>菜单</summary>
        public const string Role_Menu = "Role.Menu";
        /// <summary>查看角色权限</summary>
        public const string Role_Index = "Role.Index";

        /// <summary>操作权限</summary>
        public const string Role_Operation = "Role.Operation";
        /// <summary>权限分配</summary>
        public const string Role_Distribution = "Role_Distribution";

        /// <summary>添加用户</summary>
        public const string Role_Create = "Role.Create";
        /// <summary>修改用户</summary>
        public const string Role_Edit = "Role.Edit";
        /// <summary>删除用户</summary>
        public const string Role_Delete = "Role.Delete";

        #endregion

        #region 餐厅管理
        /// <summary>餐厅管理</summary>
        public const string Restaurant = "Restaurant";

        /// <summary>餐厅菜单</summary>
        public const string Restaurant_Menu = "Restaurant.Menu";
        /// <summary>查看餐厅列表</summary>
        public const string Restaurant_Index = "Restaurant.Index";

        /// <summary>操作权限</summary>
        public const string Restaurant_Operation = "Restaurant.Operation";
        /// <summary>添加餐厅</summary>
        public const string Restaurant_Create = "Restaurant.Create";
        /// <summary>修改餐厅</summary>
        public const string Restaurant_Edit = "Restaurant.Edit";
        /// <summary>删除餐厅</summary>
        public const string Restaurant_Delete = "Restaurant.Delete";
        #endregion

        #region 汽车管理
        /// <summary>汽车管理</summary>
        public const string Car = "Car";
        /// <summary>菜单</summary>
        public const string Car_Menu = "Car.Menu";
        /// <summary>查看汽车列表</summary>
        public const string Car_Index = "Car.Index";
        /// <summary>操作权限</summary>
        public const string Car_Operation = "Car.Operation";
        /// <summary>添加汽车</summary>
        public const string Car_Create = "Car.Create";
        /// <summary>修改汽车</summary>
        public const string Car_Edit = "Car.Edit";
        /// <summary>删除汽车</summary>
        public const string Car_Delete = "Car.Delete";
        #endregion

        #region 工厂管理
        /// <summary>工厂管理</summary>
        public const string Factory = "Factory";
        /// <summary>菜单</summary>
        public const string Factory_Menu = "Factory.Menu";
        /// <summary>查看工厂列表</summary>
        public const string Factory_Index = "Factory.Index";
        /// <summary>操作权限</summary>
        public const string Factory_Operation = "Factory.Operation";
        /// <summary>添加工厂</summary>
        public const string Factory_Create = "Factory.Create";
        /// <summary>修改工厂</summary>
        public const string Factory_Edit = "Factory.Edit";
        /// <summary>删除工厂</summary>
        public const string Factory_Delete = "Factory.Delete";

        /// <summary>所属工厂</summary>
        public const string Factory_Self = "Factory.Self";
        /// <summary>所有工厂</summary>
        public const string Factory_All = "Factory.All";

        public const string Factory_AdminUser_All = "Factory.AdminUser.All";
        #endregion

        #region 型号管理
        /// <summary>型号管理</summary>
        public const string TypeNumber = "TypeNumber";
        /// <summary>菜单</summary>
        public const string TypeNumber_Menu = "TypeNumber.Menu";
        /// <summary>查看型号列表</summary>
        public const string TypeNumber_Index = "TypeNumber.Index";
        /// <summary>操作权限</summary>
        public const string TypeNumber_Operation = "TypeNumber.Operation";
        /// <summary>创建型号</summary>
        public const string TypeNumber_Create = "TypeNumber.Create";
        /// <summary>修改型号</summary>
        public const string TypeNumber_Edit = "TypeNumber.Edit";
        /// <summary>删除型号</summary>
        public const string TypeNumber_Delete = "TypeNumber.Delete";
        #endregion

        #region 配送管理
        /// <summary>配送管理</summary>
        public const string Distribution = "Distribution";
        /// <summary>菜单权限</summary>
        public const string Distribution_Menu = "Distribution.Menu";
        /// <summary>装车</summary>
        public const string Distribution_Menu_Loading = "Distribution.Menu.Loading";
        /// <summary>配送</summary>
        public const string Distribution_Menu_Distribution = "Distribution.Menu.Distribution";
        /// <summary>配送报表</summary>
        public const string Distribution_Menu_Report = "Distribution.Menu.Report";
        /// <summary>配送图形报表</summary>
        public const string Distribution_Menu_GraphicReport = "Distribution.Menu.GraphicReport";
        /// <summary>店存</summary>
        public const string Distribution_Menu_Store = "Distribution.Menu.Store";
        /// <summary>车辆监控</summary>
        public const string Distribution_Menu_Monitor = "Distribution.Menu.Monitor";

        /// <summary>操作权限</summary>
        public const string Distribution_Operation = "Distribution.Operation";
        /// <summary>装车录入</summary>
        public const string Distribution_Operation_LoadingEntry = "Distribution.Operation.LoadingEntry";
        /// <summary>Excel导出</summary>
        public const string Distribution_Operation_Excel = "Distribution.Operation.Excel";
        /// <summary>加单补录</summary>
        public const string Distribution_Operation_Supplement = "Distribution.Operation.Supplement";
        /// <summary>盘点店存</summary>
        public const string Distribution_Operation_Inventory = "Distribution.Operation.Inventory";

        /// <summary>配送单编辑</summary>
        public const string Distribution_Edit = "Distribution.Edit";

        /// <summary>装车单审核</summary>
        public const string LoadCar_Examine = "LoadCar.Examine";
        /// <summary>装车单反审核</summary>
        public const string LoadCar_AntiExamine = "LoadCar.AntiExamine";
        #endregion

        #region 财务管理
        /// <summary>财务管理</summary>
        public const string Finance = "Finance";

        /// <summary>菜单权限</summary>
        public const string Finance_Menu = "Finance.Menu";
        /// <summary>应收</summary>
        public const string Finance_Menu_Receivable = "Finance.Menu.Receivable";
        /// <summary>收款</summary>
        public const string Finance_Menu_Receipt = "Finance.Menu.Receipt";
        /// <summary>预收款</summary>
        public const string Finance_Menu_Preparatory = "Finance.Menu.Preparatory";
        /// <summary>缴款</summary>
        public const string Finance_Menu_Payment = "Finance.Menu.Payment";
        /// <summary>押金</summary>
        public const string Finance_Menu_Deposit = "Finance.Menu.Deposit";
        /// <summary>对账单</summary>
        public const string Finance_Menu_Statement = "Finance.Menu.Statement";
        /// <summary>基础资料</summary>
        public const string Finance_Menu_Basic = "Finance.Menu.Basic";


        /// <summary>操作权限</summary>
        public const string Finance_Operation = "Finance.Operation";
        /// <summary>制作收据</summary>
        public const string Finance_Operation_MakingReceipt = "Finance.Operation.MakingReceipt";
        /// <summary>收据审批</summary>
        public const string Finance_Operation_ReceiptApproval = "Finance.Operation.ReceiptApproval";
        /// <summary>收据删除</summary>
        public const string Finance_Operation_ReceiptDelete = "Finance.Operation.ReceiptDelete";
        /// <summary>收据打印</summary>
        public const string Finance_Operation_ReceiptPrint = "Finance.Operation.ReceiptPrint";
        /// <summary>打印配送明细</summary>
        public const string Finance_Operation_DeliveryDetailsPrint = "Finance.Operation.DeliveryDetailsPrint";
        /// <summary>打印对账单</summary>
        public const string Finance_Operation_StatementPrint = "Finance.Operation.StatementPrint";
        /// <summary>分配收据</summary>
        public const string Finance_Operation_Assignment = "Finance.Operation.Assignment";
        /// <summary>添加收款</summary>
        public const string Finance_Operation_AddPaid = "Finance.Operation.AddPaid";
        /// <summary>添加预收款</summary>
        public const string Finance_Operation_AddAdvance = "Finance.Operation.AddAdvance";
        /// <summary>编辑预收款</summary>
        public const string Finance_Operation_ModifyAdvance = "Finance.Operation.ModifyAdvance";
        /// <summary>删除预收款</summary>
        public const string Finance_Operation_DeleteAdvance = "Finance.Operation.DeleteAdvance";
        /// <summary>退回预收款</summary>
        public const string Finance_Operation_ReturnAdvance = "Finance.Operation.ReturnAdvance";
        /// <summary>缴款交账</summary>
        public const string Finance_Operation_Payment = "Finance.Operation.Payment";
        /// <summary>缴款审核</summary>
        public const string Finance_Operation_PaymentObsolete = "Finance.Operation.PaymentObsolete";
        /// <summary>收押金</summary>
        public const string Finance_Operation_Deposit = "Finance.Operation.Deposit";
        /// <summary>退押金</summary>
        public const string Finance_Operation_RetreatDeposit = "Finance.Operation.RetreatDeposit";
        /// <summary>添加账户</summary>
        public const string Finance_Operation_CreateAccount = "Finance.Operation.CreateAccount";
        /// <summary>编辑账户</summary>
        public const string Finance_Operation_ModifyAccount = "Finance.Operation.ModifyAccount";
        /// <summary>删除账户</summary>
        public const string Finance_Operation_DeleteAccount = "Finance.Operation.DeleteAccount";

        /// <summary>收款单编辑</summary>
        public const string Settlement_Edit = "Settlement.Edit";
        /// <summary>收款单审核</summary>
        public const string Receipt_Examine = "Receipt.Examine";
        /// <summary>收款单反审核</summary>
        public const string Receipt_AnTiExamine = "Receipt.AnTiExamine";
        #endregion

        #region App端权限管理
        public const string AppDriver = "AppDriver";
        public const string AppDriver_Operation = "AppDriver.Operation";
        public const string AppDriver_Edit_Stock = "AppDriverEditStock";
        #endregion

        #endregion

        #region 饭碗易购-商城App
        public const string ShopApp = "ShopApp";

        #region 商品
        /// <summary>商品</summary>
        public const string Commodity = "Commodity";
        /// <summary>商品菜单</summary>
        public const string Commodity_Menu = "Commodity.Menu";
        /// <summary>商品管理</summary>
        public const string Commodity_Management = "Commodity.Management";
        /// <summary>商品属性设置</summary>
        public const string Commodity_Settings = "Commodity.Settings";
        /// <summary>商品评论</summary>
        public const string Commodity_Reviews = "Commodity.Reviews";
        /// <summary>标签管理</summary>
        public const string Commodity_Label = "Commodity_Label";

        #endregion

        #region 订单
        /// <summary>订单</summary>
        public const string Orders = "Orders";
        /// <summary>订单菜单</summary>
        public const string Orders_Menu = "Orders.Menu";
        /// <summary>订单管理</summary>
        public const string Orders_Management = "Orders.Management";
        /// <summary>订单退货</summary>
        public const string Orders_Apply = "Orders.Apply";
        #endregion

        #region 活动促销
        /// <summary>促销</summary>
        public const string Promotion = "Promotion";
        /// <summary>促销菜单</summary>
        public const string Promotion_Menu = "Promotion.Menu";
        /// <summary>促销活动管理</summary>
        public const string Promotion_Management = "Promotion.Managemnet";
        /// <summary>优惠券管理</summary>
        public const string Coupon_Management = "Coupon.Management";
        #endregion

        #region 营销
        /// <summary>页面</summary>
        public const string Advertising = "Advertising";
        /// <summary>页面菜单</summary>
        public const string Advertising_Menu = "Advertising.Menu";
        /// <summary>广告管理</summary>
        public const string Advertising_Management = "Advertising.Management";
        /// <summary>关键字设置</summary>
        public const string Keyword_Setup = "Keyword.Setup";
        /// <summary>内容管理</summary>
        public const string Content_Management = "Content.Management";
        /// <summary>公告管理</summary>
        public const string Notice_Management = "Notice.Management";
        #endregion

        #region 供应商/结算
        /// <summary>供应商</summary>
        public const string Supplier = "Supplier";
        /// <summary>供应商菜单</summary>
        public const string Supplier_Menu = "Supplier.Menu";
        /// <summary>供应商管理</summary>
        public const string Supplier_Management = "Supplier.Management";
        #endregion

        #region 意见反馈
        /// <summary>意见反馈</summary>
        public const string Feedback = "Feedback";
        /// <summary>意见反馈菜单</summary>
        public const string Feedback_Menu = "Feedback.Menu";
        /// <summary>意见反馈列表</summary>
        public const string Feedback_Index = "Feedback.Index";
        #endregion

        #region 系统设置
        /// <summary>系统设置</summary>
        public const string SysConfig = "SysConfig";
        /// <summary>系统设置菜单</summary>
        public const string SysConfig_Menu = "SysConfig.Menu";
        /// <summary>地区管理</summary>
        public const string RegionConfig = "RegionConfig";
        #endregion

        #region 角色权限
        /// <summary>角色权限</summary>
        public const string RolesPower = "RolesPower";
        /// <summary>角色权限菜单</summary>
        public const string RolesPower_Menu = "RolesPower.Menu";
        /// <summary>角色列表</summary>
        public const string RolesPower_Index = "RolesPower.Index";
        #endregion

        #endregion
    }
}
